package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.MyOrder;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;


public interface IMyOrderService {

    int save(MyOrder myOrder);


    PageInfo query(QueryObject qo);


    PageInfo getOrderByPaid(QueryObject qo,Long userId);

    PageInfo getObligationOrder(QueryObject qo,Long userId);

    void deleteOrderById(Long orderId);

    Integer getTotalCount(Long userId);

    Integer getCounts(Long userId);

    void updateState(Long orderId);

    MyOrder getProductInfo(Long orderId);
}

